<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>村民资料 - 资料库 - 星露谷攻略论坛</title>
    <link href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&display=swap" rel="stylesheet">
    <style>
        body {
            font-family: 'Noto Sans SC', sans-serif;
            background-color: #f9fafb;
            margin: 0;
            padding: 0;
        }
        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 1rem;
        }
        /* 导航栏 */
        .navbar {
            background-color: white;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
        }
        .navbar-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 4rem;
            padding: 0 1rem;
        }
        .navbar-brand {
            display: flex;
            align-items: center;
        }
        .navbar-logo {
            height: 2rem;
            width: auto;
        }
        .navbar-title {
            margin-left: 0.5rem;
            font-size: 1.25rem;
            font-weight: bold;
            color: #059669;
        }
        .navbar-nav {
            display: none;
        }
        .nav-link {
            color: #6b7280;
            text-decoration: none;
            padding: 0.5rem 1rem;
            font-size: 0.875rem;
            font-weight: 500;
            border-bottom: 2px solid transparent;
        }
        .nav-link.active, .nav-link:focus {
            color: #111827;
            border-bottom-color: #059669;
        }
        .nav-link:hover {
            color: #374151;
            border-bottom-color: #d1d5db;
        }
        .login-btn {
            background-color: #059669;
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 0.375rem;
            font-size: 0.875rem;
            font-weight: 500;
            border: none;
            cursor: pointer;
        }
        .login-btn:hover {
            background-color: #047857;
        }
        /* 主体布局 */
        .main-content {
            padding: 2rem 0;
        }
        .content-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
        }
        @media (min-width: 1024px) {
            .content-grid {
                grid-template-columns: 2fr 1fr;
            }
            .sidebar {
                margin-top: 0;
            }
        }
        /* 面包屑导航 */
        .breadcrumb {
            margin-bottom: 1.5rem;
        }
        .breadcrumb-list {
            display: flex;
            align-items: center;
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .breadcrumb-item {
            display: flex;
            align-items: center;
        }
        .breadcrumb-link {
            color: #6b7280;
            text-decoration: none;
        }
        .breadcrumb-link:hover {
            color: #374151;
        }
        .breadcrumb-separator {
            margin: 0 1rem;
            color: #9ca3af;
        }
        /* 筛选器 */
        .filter-card {
            background-color: white;
            border-radius: 0.5rem;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
            margin-bottom: 1.5rem;
            overflow: hidden;
        }
        .filter-content {
            padding: 1rem;
        }
        .filter-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1rem;
        }
        .filter-group label {
            display: block;
            font-size: 0.875rem;
            font-weight: 500;
            color: #374151;
            margin-bottom: 0.25rem;
        }
        .filter-select {
            width: 100%;
            padding: 0.5rem;
            border: 1px solid #d1d5db;
            border-radius: 0.375rem;
            font-size: 0.875rem;
        }
        /* 村民列表 */
        .villager-section {
            margin-bottom: 1.5rem;
        }
        .section-title {
            font-size: 1.25rem;
            font-weight: bold;
            color: #111827;
            margin-bottom: 1rem;
        }
        .villager-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }
        @media (min-width: 768px) {
            .villager-grid {
                grid-template-columns: 1fr 1fr;
            }
        }
        @media (min-width: 1200px) {
            .villager-grid {
                grid-template-columns: 1fr 1fr 1fr;
            }
        }
        .villager-card {
            background-color: white;
            border-radius: 0.5rem;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
            overflow: hidden;
            text-decoration: none;
            transition: box-shadow 0.2s;
        }
        .villager-card:hover {
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        .villager-content {
            padding: 1rem;
        }
        .villager-image {
            width: 100%;
            height: 12rem;
            object-fit: cover;
            border-radius: 0.5rem;
            margin-bottom: 1rem;
        }
        .villager-title {
            font-size: 1.125rem;
            font-weight: 500;
            color: #111827;
            margin: 0;
        }
        .villager-details {
            display: flex;
            justify-content: space-between;
            margin-top: 0.5rem;
            font-size: 0.875rem;
            color: #6b7280;
        }
        .villager-tag {
            display: inline-flex;
            align-items: center;
            padding: 0.25rem 0.625rem;
            border-radius: 9999px;
            font-size: 0.75rem;
            font-weight: 500;
            margin-top: 0.5rem;
        }
        .tag-single {
            background-color: #ede9fe;
            color: #6d28d9;
        }
        .tag-married {
            background-color: #dbeafe;
            color: #1e40af;
        }
        .tag-friend {
            background-color: #dcfce7;
            color: #166534;
        }
        /* 分页 */
        .pagination {
            display: flex;
            justify-content: center;
            margin-top: 2rem;
        }
        .pagination-list {
            display: flex;
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .pagination-link {
            display: inline-flex;
            align-items: center;
            padding: 0.5rem 1rem;
            border: 1px solid #d1d5db;
            background-color: white;
            color: #6b7280;
            font-size: 0.875rem;
            font-weight: 500;
            text-decoration: none;
            margin: 0 2px;
            border-radius: 0.375rem;
        }
        .pagination-link.active {
            background-color: #ecfdf5;
            color: #059669;
        }
        .pagination-link:hover {
            background-color: #f9fafb;
        }
        /* 侧边栏 */
        .sidebar {
            margin-top: 2rem;
        }
        .sidebar-card {
            background-color: white;
            border-radius: 0.5rem;
            box-shadow: 0 1px 2px rgba(0,0,0,0.05);
            overflow: hidden;
            margin-bottom: 2rem;
        }
        .sidebar-content {
            padding: 1.5rem;
        }
        .sidebar-title {
            font-size: 1.125rem;
            font-weight: 500;
            color: #111827;
            margin-bottom: 1rem;
        }
        .sidebar-list {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        .sidebar-link {
            display: flex;
            justify-content: space-between;
            color: #6b7280;
            text-decoration: none;
            font-size: 0.95rem;
            font-weight: 500;
        }
        .sidebar-link:hover {
            color: #111827;
        }
        .sidebar-count {
            color: #9ca3af;
        }
        .hot-villager {
            display: flex;
            align-items: center;
            gap: 1rem;
            text-decoration: none;
        }
        .hot-villager-image {
            width: 4rem;
            height: 4rem;
            border-radius: 0.5rem;
            object-fit: cover;
        }
        .hot-villager-info h4 {
            font-size: 0.875rem;
            font-weight: 500;
            color: #111827;
            margin: 0;
        }
        .hot-villager-info p {
            font-size: 0.875rem;
            color: #6b7280;
            margin: 0;
        }
        /* 页脚 */
        .footer {
            background-color: white;
            margin-top: 3rem;
            padding: 3rem 0;
        }
        .footer-nav {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            margin: -0.5rem -1.25rem;
        }
        .footer-link {
            padding: 0.5rem 1.25rem;
            color: #6b7280;
            text-decoration: none;
            font-size: 1rem;
        }
        .footer-link:hover {
            color: #111827;
        }
        .footer-copyright {
            text-align: center;
            color: #9ca3af;
            font-size: 1rem;
            margin-top: 2rem;
        }
        @media (min-width: 640px) {
            .navbar-nav {
                display: flex;
                gap: 2rem;
            }
        }
    </style>
</head>
<body>
    <!-- 导航栏 -->
    <nav class="navbar">
        <div class="container navbar-content">
            <div class="navbar-brand">
                <img class="navbar-logo" src="https://images.unsplash.com/photo-1612287230202-1ff1d85d1bdf?w=500&auto=format&fit=crop&q=60" alt="星露谷论坛">
                <span class="navbar-title">星露谷论坛</span>
            </div>
            <div class="navbar-nav">
                <a href="index.html" class="nav-link">首页</a>
                <a href="guides.html" class="nav-link">攻略中心</a>
                <a href="community.html" class="nav-link">社区讨论</a>
                <a href="wiki.html" class="nav-link">资料库</a>
            </div>
            <button class="login-btn">登录/注册</button>
        </div>
    </nav>

    <!-- 主要内容 -->
    <div class="container main-content">
        <div class="content-grid">
            <!-- 左侧内容区 -->
            <div>
                <!-- 面包屑导航 -->
                <div class="breadcrumb">
                    <ol class="breadcrumb-list">
                        <li class="breadcrumb-item">
                            <a href="wiki.html" class="breadcrumb-link">资料库</a>
                        </li>
                        <li class="breadcrumb-item">
                            <span class="breadcrumb-separator">/</span>
                            <span class="breadcrumb-link">村民资料</span>
                        </li>
                    </ol>
                </div>
                <!-- 筛选器 -->
                <div class="filter-card">
                    <div class="filter-content">
                        <div class="filter-grid">
                            <div class="filter-group">
                                <label for="location">居住地</label>
                                <select id="location" class="filter-select">
                                    <option value="">全部地点</option>
                                    <option value="town">鹈鹕镇</option>
                                    <option value="beach">海滩</option>
                                    <option value="mountain">山区</option>
                                    <option value="forest">森林</option>
                                </select>
                            </div>
                            <div class="filter-group">
                                <label for="relationship">关系状态</label>
                                <select id="relationship" class="filter-select">
                                    <option value="">全部状态</option>
                                    <option value="single">单身</option>
                                    <option value="married">已婚</option>
                                    <option value="friend">好友</option>
                                </select>
                            </div>
                            <div class="filter-group">
                                <label for="sort">排序</label>
                                <select id="sort" class="filter-select">
                                    <option value="name">名称</option>
                                    <option value="birthday">生日</option>
                                    <option value="relationship">好感度</option>
                                </select>
                            </div>
                        </div>
                    </div>
                </div>
                <!-- 村民列表 -->
                <div class="villager-section">
                    <h2 class="section-title">鹈鹕镇村民</h2>
                    <div class="villager-grid">
                        <!-- 艾米丽 -->
                        <a href="#" class="villager-card">
                            <div class="villager-content">
                                <img src="https://images.unsplash.com/photo-1612287230202-1ff1d85d1bdf?w=500&auto=format&fit=crop&q=60" alt="艾米丽" class="villager-image">
                                <h3 class="villager-title">艾米丽</h3>
                                <div class="villager-details">
                                    <span>生日：春季27日</span>
                                    <span>好感度：❤️❤️❤️</span>
                                </div>
                                <span class="villager-tag tag-single">单身</span>
                            </div>
                        </a>
                        <!-- 谢恩 -->
                        <a href="#" class="villager-card">
                            <div class="villager-content">
                                <img src="https://images.unsplash.com/photo-1612287230202-1ff1d85d1bdf?w=500&auto=format&fit=crop&q=60" alt="谢恩" class="villager-image">
                                <h3 class="villager-title">谢恩</h3>
                                <div class="villager-details">
                                    <span>生日：春季20日</span>
                                    <span>好感度：❤️❤️</span>
                                </div>
                                <span class="villager-tag tag-single">单身</span>
                            </div>
                        </a>
                    </div>
                </div>
                <div class="villager-section">
                    <h2 class="section-title">海滩村民</h2>
                    <div class="villager-grid">
                        <!-- 艾略特 -->
                        <a href="#" class="villager-card">
                            <div class="villager-content">
                                <img src="https://images.unsplash.com/photo-1612287230202-1ff1d85d1bdf?w=500&auto=format&fit=crop&q=60" alt="艾略特" class="villager-image">
                                <h3 class="villager-title">艾略特</h3>
                                <div class="villager-details">
                                    <span>生日：秋季5日</span>
                                    <span>好感度：❤️❤️❤️❤️</span>
                                </div>
                                <span class="villager-tag tag-single">单身</span>
                            </div>
                        </a>
                    </div>
                </div>
                <!-- 分页 -->
                <div class="pagination">
                    <a href="#" class="pagination-link">上一页</a>
                    <a href="#" class="pagination-link">1</a>
                    <a href="#" class="pagination-link active">2</a>
                    <a href="#" class="pagination-link">3</a>
                    <a href="#" class="pagination-link">下一页</a>
                </div>
            </div>
            <!-- 右侧边栏 -->
            <div class="sidebar">
                <!-- 快速导航 -->
                <div class="sidebar-card">
                    <div class="sidebar-content">
                        <h3 class="sidebar-title">快速导航</h3>
                        <div class="sidebar-list">
                            <a href="#" class="sidebar-link">
                                <span>鹈鹕镇</span>
                                <span class="sidebar-count">12人</span>
                            </a>
                            <a href="#" class="sidebar-link">
                                <span>海滩</span>
                                <span class="sidebar-count">3人</span>
                            </a>
                            <a href="#" class="sidebar-link">
                                <span>山区</span>
                                <span class="sidebar-count">4人</span>
                            </a>
                            <a href="#" class="sidebar-link">
                                <span>森林</span>
                                <span class="sidebar-count">2人</span>
                            </a>
                        </div>
                    </div>
                </div>
                <!-- 热门村民 -->
                <div class="sidebar-card">
                    <div class="sidebar-content">
                        <h3 class="sidebar-title">热门村民</h3>
                        <div class="sidebar-list">
                            <a href="#" class="hot-villager">
                                <img src="https://images.unsplash.com/photo-1612287230202-1ff1d85d1bdf?w=500&auto=format&fit=crop&q=60" alt="艾米丽" class="hot-villager-image">
                                <div class="hot-villager-info">
                                    <h4>艾米丽</h4>
                                    <p>最受欢迎的单身女性</p>
                                </div>
                            </a>
                            <a href="#" class="hot-villager">
                                <img src="https://images.unsplash.com/photo-1612287230202-1ff1d85d1bdf?w=500&auto=format&fit=crop&q=60" alt="谢恩" class="hot-villager-image">
                                <div class="hot-villager-info">
                                    <h4>谢恩</h4>
                                    <p>最受欢迎的单身男性</p>
                                </div>
                            </a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- 页脚 -->
    <footer class="footer">
        <div class="container">
            <nav class="footer-nav">
                <a href="#" class="footer-link">关于我们</a>
                <a href="#" class="footer-link">使用条款</a>
                <a href="#" class="footer-link">隐私政策</a>
                <a href="#" class="footer-link">联系我们</a>
            </nav>
            <p class="footer-copyright">
                &copy; 2024 星露谷攻略论坛. All rights reserved.
            </p>
        </div>
    </footer>
</body>
</html> 